﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Models
{
    public class warningdatas
    {
        public warningdatas()
        { }
        #region Model
        private long _id;
        private long? _sensordata_id;
        private string _sensor_sn;
        private string _device_code;
        private string _device_name;
        private string _parameter_code;
        private decimal? _value;
        private DateTime? _warn_time;
        private int? _status;
        private int? _user_id;
        private DateTime? _remove_time;
        private string _statu;
        private int? _flag;
        private decimal? _temper;
        private decimal? _dens;
        private decimal? _vis;
        private decimal? _vis40;
        private decimal? _diel;
        private decimal? _ppm;
        private decimal? _aw;
        private decimal? _mo;
        private decimal? _fe;
        private decimal? _nfe;
        private decimal? _iso;
        /// <summary>
        /// 
        /// </summary>
        public long id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long? sensordata_id
        {
            set { _sensordata_id = value; }
            get { return _sensordata_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string sensor_sn
        {
            set { _sensor_sn = value; }
            get { return _sensor_sn; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string device_code
        {
            set { _device_code = value; }
            get { return _device_code; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string device_name
        {
            set { _device_name = value; }
            get { return _device_name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string parameter_code
        {
            set { _parameter_code = value; }
            get { return _parameter_code; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? value
        {
            set { _value = value; }
            get { return _value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? warn_time
        {
            set { _warn_time = value; }
            get { return _warn_time; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? user_id
        {
            set { _user_id = value; }
            get { return _user_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? remove_time
        {
            set { _remove_time = value; }
            get { return _remove_time; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string statu
        {
            set { _statu = value; }
            get { return _statu; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? flag
        {
            set { _flag = value; }
            get { return _flag; }
        }
        public decimal? temper
        {
            set { _temper = value; }
            get { return _temper; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? dens
        {
            set { _dens = value; }
            get { return _dens; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? vis
        {
            set { _vis = value; }
            get { return _vis; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? vis40
        {
            set { _vis40 = value; }
            get { return _vis40; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? diel
        {
            set { _diel = value; }
            get { return _diel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? ppm
        {
            set { _ppm = value; }
            get { return _ppm; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? aw
        {
            set { _aw = value; }
            get { return _aw; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? mo
        {
            set { _mo = value; }
            get { return _mo; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? fe
        {
            set { _fe = value; }
            get { return _fe; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? nfe
        {
            set { _nfe = value; }
            get { return _nfe; }
        }
        public decimal? iso
        {
            set { _iso = value; }
            get { return _iso; }
        }
        #endregion Model
    }
}
